using System;
using System.Collections.Generic;

namespace Loans.Domain.Model
{
    /// <summary>
    /// Tabela uzytkownicy
    /// </summary>
    public class User
    {
        /// <summary>
        /// </summary>
        public virtual Guid Id { get; set; }

        /// <summary>
        /// </summary>
        public virtual string Name { get; set; }

        /// <summary>
        /// </summary>
        public ICollection<Role> Roles { get; set; }

        public ICollection<Profile> Profiles { get; set; }
    }

    public class Profile
    {
        public Guid Id { get; set; }
        public string Name { get; set; }
    }
}